/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-06-04
 * TIME:19:24
 */
public class Test {
    public static void main(String[] args) {
        BinaryTree str = new BinaryTree('b');
        str.create();
       /* str.preOrder(str.head);
        System.out.println();
        System.out.println(str.size(str.head));
        System.out.println();
        str.preOrder(str.head);
        System.out.println(str.size2(str.head));*/
        /*str.preOrder(str.head);
        System.out.println();
        str.inOrder(str.head);
        System.out.println();
        System.out.println(str.getLeafNode(str.head));*/
        /*System.out.println(str.getLevelNodeCount(str.head, 3));*/
        /*System.out.println(str.getTreeLength(str.head));*/
       str.preOrder(str.head);
        System.out.println(str.findNode(str.head,12));

    }
}
